/*
 * @Description:混入后该页面不可在普通租户中进入
 * @Version: 1.0
 * @Autor: chen_yt
 * @Date: 2022-06-01 14:44:06
 * @LastEditors: chen_yt
 * @LastEditTime: 2022-06-23 14:41:18
 */
import { saasPermission } from './util'
import { SAAS_TYPE } from '@/config/enums'


export default {
    beforeRouteEnter(to, from, next) {
        if (saasPermission([SAAS_TYPE.TENANT])) {
            next('/404')
            return
        }
        next()
        return

    },
}